<template>
  <div class="home center">
    <div class="name">{{ item.title }}</div>
    <div class="info">
      <div>发布时间：{{ item.releaseTime }}</div>
    </div>
    <div class="text" v-html="item.text"></div>
  </div>
</template>
<script>
import { getProcurementListItem } from "@/api/procurement/list";
export default {
  name: "noticeDetails",
  data() {
    return {
      item: {},
    };
  },
  created() {
    getProcurementListItem({ id: this.$route.query.listId }).then((res) => {
      this.item = res.data;
    });
  },
  computed: {},
  methods: {},
};
</script>
<style scoped>
.home {
  padding-bottom: 100px;
}
.name {
  font-size: 30px;
  font-weight: 600;
  text-align: center;
  padding: 30px 0;
}
.info {
  display: flex;
  justify-content: center;
  color: #666;
  margin-bottom: 30px;
}
.info > div {
  margin: 0 10px;
  font-size: 14px;
}
.text {
  line-height: 27px;
  padding: 0 100px;
  color: #656565;
  min-height: 600px;
}
.text > h4 {
  color: #555;
}
</style>
